import { get ,post,_delete} from './http'

export const getCartList = (params) => {
    let url = "/api/cartList";
    return get(url, params)
}

export const addOrder = (params) => {
    let url = "/api/orderList"
    return post(url, params)
  }

export const deleteCart = (params) => {
let url = "/api/cartList/"+params;
return _delete(url, params)
}
 
